package com.zkingsoft.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizOrder;

/**
 * @description (订单信息) 
 * @author 何明
 * @date 2018-05-23 00:08
 */
public interface BizOrderDao{

	public int insert(@Param("item") BizOrder bizOrder);
   	
   	public int batchInsert(@Param("list") List<BizOrder> bizOrderList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizOrder bizOrder);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String orderId);

	public int deleteByModel(@Param("record") BizOrder bizOrder);
	
	public List<BizOrder> selectInPage(@Param("record") BizOrder bizOrder, @Param("pageVo") PaginationVO pageVo);

	public List<BizOrder> selectByModel(@Param("record") BizOrder bizOrder);
	
	public int selectTotalRecord(@Param("record") BizOrder bizOrder);
	
	public BizOrder  selectById(String orderId);
	
	public BizOrder  selectForUpdate(String orderId);
	
	
	public List<BizOrder> selectAllOrder(@Param("record") BizOrder bizOrder);
	
	public int selectAllOrderTotal(@Param("record") BizOrder bizOrder);
	
	public BizOrder  queryDetail(String orderId);
	
	
}